#include <stdio.h>
int main()
{
	char arr1[] = "Abc1";
	char arr2[] = { 'A','b','c','A','\0'};
	int n,N;
	for (int i = 0; i < 4; i++)
	{
		if ('A' < arr1[i] && arr1[i] < 'a');
		n++;
		
		if ('A'< arr2[i] &&arr2[i]< 'a');
		N++;
	}
	printf("%d", n);
	printf("%d", N);
	return 0;
}